package org.spring.boot.custom.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;

/**
 * @author: eastcom
 * @desc: 自定义配置
 **/
@Component
@ConfigurationProperties(prefix = "spring")
public class CustomConfig {

	private String sftpValue;

	private Integer port;

	private String[] arrayValues;

	private List<String> eventIds;

	private Map<String, Object> relationParam;

	public String getSftpValue() {
		return sftpValue;
	}

	public void setSftpValue(String sftpValue) {
		this.sftpValue = sftpValue;
	}

	public Integer getPort() {
		return port;
	}

	public void setPort(Integer port) {
		this.port = port;
	}

	public String[] getArrayValues() {
		return arrayValues;
	}

	public void setArrayValues(String[] arrayValues) {
		this.arrayValues = arrayValues;
	}

	public List<String> getEventIds() {
		return eventIds;
	}

	public void setEventIds(List<String> eventIds) {
		this.eventIds = eventIds;
	}

	public Map<String, Object> getRelationParam() {
		return relationParam;
	}

	public void setRelationParam(Map<String, Object> relationParam) {
		this.relationParam = relationParam;
	}

	@Override
	public String toString() {
		return super.toString();
	}
}
